changed using sourceDir option in forever command and added cd $sourceDir before running the command