slightly changed build process