Removed unused script and rearranged the order of scripts