fixing make and perl files