chmod for scripts
improved size restore