Fix deploy script that was deployng always