appending extension for the files in scripts folder