Automatically set APP_HOME