make_executable(query) -- give executable permissions to a given file

def make_executable(query):
	"""make_executable(query) -- give executable permissions to a given file
	"""
	filename = support.get_file_name(query)
	if(os.path.isfile(filename)):
		os.system('chmod +x '+filename)
	else:
		print 'file not found'