Include home dir fix in standalone script