changed deployment method