Fixed config/deploy issues