fixes so install and download scripts run in the FlexJS install