Changed main file permission