initial prolog build script