file with only one function needed for scripts