fix script creation for second apache