Renamed ligand_folder to input_folder