Moving scripts from profile to scripts