Changed name of the script, This is almost complete but not tested