Support new scriptcs argument passing