Fixing home scripts