attempting to decouple some of the code, fixed errors, started rewriting footer scripts implementation for options
reworking scripts implementation, needs fixing still