set permissions on scripts, double the sample file