script to create deployable one-file version