Fixed bug from no period file being passed (2)