global script working

one script to bind them. working. in testing phase.