Fix deploy task and config