Updated to use options obj

Updated to use options object for Source Map generation.