Changes target dependency file name (adds extension .dep)
Rechecks system dependency when program variable changed
Prevents failure for variable injection
Fixes identation