Added check for rake tasks && added port to host