Better handling of run targets (any file or directory can now be chosen)