Removed --headless flag from deployment task