fixing script that is breaking drone build for an unkown reason