fix: only copy via basename
fix: remove first line only, if it’s an interpreter