fixed some errors and removed unused script
sorted files and added some script