Unify linux script replacements #182

Removing useless code, adding more tests and unifying script replacements.