Fixed deploying in non-root folders