removed http dependancy on scripts