Fixed missing import and improved scripts call.