Fixed some bugs in the scripts. Added some required packages.
Adding some scripts