[NH] Make scripts executable and genclass on api for use with uberjar.