add script for standalone builds