fixing update to nginx script