changes to put it on ubuntu server //some changes for permission