modifications to home script