Fix openFriday Bug

Testing code to fix the openFriday bug (no number). changing the order of ternary operations should do it. also removed debugging statements.