Changed things so it copies to home dir before add execute permissions.