preliminary script for nginx